import { createPinia } from "pinia";
import userStore from "./modules/user";
// 数据持久化，会将其存储在sessionStorage中
import piniaPluginPersist from 'pinia-plugin-persist'

const store = createPinia();
store.use(piniaPluginPersist)

export { userStore };
export default store